import About from "@/view/About/index.vue";
import Blog from "@/view/Blog/index.vue";
import Home from "@/view/Home/index.vue";
import Message from "@/view/Message/index.vue";
import Project from "@/view/Project/index.vue";
import BlogDetail from "@/view/BlogDetail/index.vue";

export default [
    {
        name: "Home",
        path: "/",
        component: Home,
        meta: {
            title: "首页"
        }
    },
    {
        name: "About",
        path: "/about",
        component: About,
        meta: {
            title: "关于我"
        }
    },
    {
        name: "Blog",
        path: "/article",
        component: Blog,
        meta: {
            title: "文章"
        }
    },
    {
        name: "BlogDetail",
        path: "/article/:id",
        component: BlogDetail,
    },
    {
        name: "Cata",
        path: "/article/cata/:categoryId",
        component: Blog,
        meta: {
            title: "文章"
        }
    }
    ,
    {
        name: "Message",
        path: "/message",
        component: Message,
        meta: {
            title: "留言板"
        }
    },
    {
        name: "Project",
        path: "/project",
        component: Project,
        meta: {
            title: "项目&效果"
        }
    }
];